<?php
// +----------------------------------------------------------------------
// | Citrix [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://www.tpCitrix.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.tpCitrix.com/ )
// +----------------------------------------------------------------------
// | Author: Citrix < 2722279500@qq.com >
// +----------------------------------------------------------------------


namespace app\admin\model;

use \think\Model;
class Goods extends Model
{
	public function cate()
    {
        //关联分类表
        return $this->belongsTo('GoodsCate');
    }
    
    public function admin()
    {
        //关联角色表
        return $this->belongsTo('Admin');
    }
}
